/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.helwen.restaurantbooking.ui.customcomponent;

import java.awt.Dimension;
import javax.swing.JButton;

/**
 *
 * @author Nghiata
 */
public class TableComponent extends JButton{

    private String url;
    private String area;
    private Integer tableNumber;
    private Short status;
    public TableComponent() {
        this.setOpaque(false);
        this.setLayout(null);
        this.setPreferredSize(new Dimension(100, 100));
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public Integer getTableNumber() {
        return tableNumber;
    }

    public void setTableNumber(Integer tableNumber) {
        this.tableNumber = tableNumber;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }
    
}
